		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>

			<div class="main-container-inner">
		 
				<a class="menu-toggler" id="menu-toggler" href="javascript:void(0);">
					<span class="menu-text"></span>
				</a>
		
				<div class="sidebar" id="sidebar">
					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
					</script>

					<div class="sidebar-shortcuts" id="sidebar-shortcuts">
						<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
							<span class="btn btn-success"></span>

							<span class="btn btn-info"></span>

							<span class="btn btn-warning"></span>

							<span class="btn btn-danger"></span>
						</div>
					</div><!-- #sidebar-shortcuts -->

					<ul class="nav nav-list">
						<li class="active">
							<a href="index.php">
								<i class="icon-dashboard"></i>
								<span class="menu-text"> 首页 </span>
							</a>
						</li>
					
			 <%if $userNode_1001 && $userNode_1001 == 1001%>
						<li id="data">
							<a href="javascript:void(0);" class="dropdown-toggle">
								<i class="icon-hdd"></i>
								<span class="menu-text">数据查询 </span>

								<b class="arrow icon-angle-down"></b>
							</a>
							
							<ul class="submenu"   >
								<li id="data_showChart">
									<a href="index.php?mod=Data&do=showChart">
										<i class="icon-double-angle-right"></i>
										实时数据趋势图
									</a>
								</li>
								<li id="data_showData">
									<a href="index.php?mod=Data&do=showData">
										<i class="icon-double-angle-right"></i>
										实时数据查询
									</a>
								</li>
								
								<li id="data_showDataToday">
									<a href="index.php?mod=Data&do=showDataToday">
										<i class="icon-double-angle-right"></i>
										当日数据查询
									</a>
								</li>
							
									<li id="data_getPlatformData">
									<a href="index.php?mod=Data&do=getPlatformData">
										<i class="icon-double-angle-right"></i>
										分类数据查询
									</a>
								</li>
									<li id="data_showStatData">
									<a href="index.php?mod=Data&do=showStatData">
										<i class="icon-double-angle-right"></i>
										历史数据查询
									</a>
								</li>	
								
								<li id="data_showHistory">
									<a href="index.php?mod=Data&do=showHistory">
										<i class="icon-double-angle-right"></i>
										历史数据重算
									</a>
								</li>
								
								<!-- 
								<li id="data_getChannelData">
									<a href="index.php?mod=Data&do=getChannelData">
										<i class="icon-double-angle-right"></i>
										渠道数据查询
									</a>
								</li>
								 -->	
									
							</ul>
						</li>
				<%/if%>	
				<%if $userNode_1002 && $userNode_1002 == 1002%>	
					<li id="recharge">
							<a href="javascript:void(0);" class="dropdown-toggle">
								<i class="icon-list-alt"></i>
								<span class="menu-text">订单查询 </span>

								<b class="arrow icon-angle-down"></b>
							</a>
						
						
							<ul class="submenu">
								<li id="recharge_getData">
									<a href="index.php?mod=Recharge&do=getData&action=1&game=全民霸业">
										<i class="icon-double-angle-right"></i>
										实时充值趋势
									</a>
								</li>	
								
								<li id="recharge_fetchBills">
									<a href="index.php?mod=Recharge&do=fetchBills">
										<i class="icon-double-angle-right"></i>
										渠道订单查询
									</a>
								</li>
									
								<li id="recharge_fetchRechargeRank">
									<a href="index.php?mod=Recharge&do=fetchRechargeRank&action=0">
										<i class="icon-double-angle-right"></i>
										累计充值查询
									</a>
								</li>
								<li id="recharge_fetchRechargeNum">
									<a href="index.php?mod=Recharge&do=fetchRechargeNum&action=0">
										<i class="icon-double-angle-right"></i>
										充值区间人数
									</a>
								</li>
								
								<li id="recharge_fetchRecharge">
									<a href="index.php?mod=Recharge&do=fetchOrderByPuid">
										<i class="icon-double-angle-right"></i>
										用户订单查询
									</a>
								</li>
								<li id="recharge_fetchCallback">
									<a href="index.php?mod=Recharge&do=fetchCallback">
										<i class="icon-double-angle-right"></i>
										支付回调查询
									</a>
								</li>
								<!--  
								<li id="recharge_fetchOrder">
									<a href="index.php?mod=Recharge&do=fetchOrder">
										<i class="icon-double-angle-right"></i>
										单个订单查询
									</a>
								</li>
								-->
								
								<li id="recharge_redo">
									<a href="index.php?mod=Recharge&do=redo&action=0">
										<i class="icon-double-angle-right"></i>
										渠道订单重发
									</a>
								</li>
								
							</ul>
						</li>
					<%/if%>	
				<%if $userNode_1003 && $userNode_1003 == 1003%>		
					<li id="cdk">
							<a href="javascript:void(0);" class="dropdown-toggle">
								<i class="icon-key"></i>
								<span class="menu-text">CDK操作 </span>

								<b class="arrow icon-angle-down"></b>
							</a>
						
							<ul class="submenu"   >
										
								<li id="cdk_create">
									<a href="index.php?mod=Cdk&do=create">
										<i class="icon-double-angle-right"></i>
										生成CDK
									</a>
								</li>
								
								
								<li id="cdk_select">
									<a href="index.php?mod=Cdk&do=cdkOperate">
										<i class="icon-double-angle-right"></i>
										CDK操作
									</a>
								</li>
						
							
								<li id="cdk_cdkUse">
									<a href="index.php?mod=Cdk&do=cdkUse">
										<i class="icon-double-angle-right"></i>
										CDK查询
									</a>
								</li>
								
					
										
							</ul>
						</li>
							<%/if%>	
				<%if $userNode_1004 && $userNode_1004 == 1004%>		
						<li id="DataAnalysis">
							<a href="javascript:void(0);" class="dropdown-toggle">
								<i class="icon-align-justify"></i>
								<span class="menu-text">数据分析 </span>

								<b class="arrow icon-angle-down"></b>
							</a>
							
							
							 <ul class="submenu"   >
							 	<li id="DataAnalysis_getVipNum">
									<a href="index.php?mod=DataAnalysis&do=getVipNum&action=0">
										<i class="icon-double-angle-right"></i>
										全服vip分布
									</a>
								</li>
								
								<li id="DataAnalysis_getLossLevelNum">
									<a href="index.php?mod=DataAnalysis&do=getLossLevelNum&action=0">
										<i class="icon-double-angle-right"></i>
										流失等级分布
									</a>
								</li>
								
							 	<li id="DataAnalysis_getLevelNum">
									<a href="index.php?mod=DataAnalysis&do=getLevelNum&action=0">
										<i class="icon-double-angle-right"></i>
										全服等级分布
									</a>
								</li>
							 	
							 	<li id="DataAnalysis_getMonthcardInfo">
									<a href="index.php?mod=DataAnalysis&do=getMonthcardInfo&action=0">
										<i class="icon-double-angle-right"></i>
										月卡购买人数
									</a>
								</li>
							 	
									<li id="goldSource">
									<a href="index.php?mod=DataAnalysis&do=goldSource&action=0">
										<i class="icon-double-angle-right"></i>
										钻石来源分布
									</a>
								</li>	
								<li id="goldUse">
									<a href="index.php?mod=DataAnalysis&do=goldUse&action=0">
										<i class="icon-double-angle-right"></i>
										钻石消耗分布
									</a>
								</li>
								
								<li id="tutorialStep">
									<a href="index.php?mod=DataAnalysis&do=tutorialStep&action=0">
										<i class="icon-double-angle-right"></i>
										新手步骤分布
									</a>
								</li>
								
								<li id="tutorialLevel">
									<a href="index.php?mod=DataAnalysis&do=tutorialLevel&action=0">
										<i class="icon-double-angle-right"></i>
										新手等级分布
									</a>
								</li>
								
								<li id="activityEffect">
									<a href="index.php?mod=DataAnalysis&do=activityEffect&action=0">
										<i class="icon-double-angle-right"></i>
										活动效果查询
									</a>
								</li>
								<li id="activityStatistics">
									<a href="index.php?mod=DataAnalysis&do=activityStatistics&action=0">
										<i class="icon-double-angle-right"></i>
										活动统计信息
									</a>
								</li>
								 <li id="rechargeLevelNum">
									 <a href="index.php?mod=DataAnalysis&do=rechargeLevelNum&action=0">
										 <i class="icon-double-angle-right"></i>
										 充值等级分布
									 </a>
								 </li>
							 </ul>
						</li>
						<%/if%>	
				<%if $userNode_1005 && $userNode_1005 == 1005%>	
						<li id="Gm">
							<a href="javascript:void(0);" class="dropdown-toggle">
								<i class="icon-cog"></i>
								<span class="menu-text"> GM相关 </span>

								<b class="arrow icon-angle-down"></b>
							</a>
						
							<ul class="submenu"   >
				
								<li id="Gm_selectUserInfo">
									<a href="index.php?mod=Gm&do=selectUserInfo&action=0">
										<i class="icon-double-angle-right"></i>
										用户操作相关
									</a>
								</li>
						  	<li id="Gm_synthesisinfo">
									<a href="index.php?mod=Gm&do=synthesisinfo&action=0">
										<i class="icon-double-angle-right"></i>
										单服留存信息
									</a>
								</li>
							<!--	<li id="Gm_newly">
									<a href="index.php?mod=Gm&do=newly&action=0">
										<i class="icon-double-angle-right"></i>
										设备新增查询
									</a>
								</li>
						 -->		
								<li id="Gm_serverStatus">
									<a href="index.php?mod=Gm&do=serverStatus&action=0">
										<i class="icon-double-angle-right"></i>
										服务器状态信息
									</a>
								</li>
								<li id="Gm_serverConfig">
									<a href="index.php?mod=Gm&do=serverConfig&action=0">
										<i class="icon-double-angle-right"></i>
										服务器配置更新
									</a>
								</li>
							</ul>
						</li>
				<%/if%>	
				<%if $userNode_1006 && $userNode_1006 == 1006%>		
					<li id="Account">
							<a href="javascript:void(0);" class="dropdown-toggle">
								<i class="icon-cog"></i>
								<span class="menu-text"> 账号中心 </span>

								<b class="arrow icon-angle-down"></b>
							</a>
						
							<ul class="submenu"  >
				
								<li id="Account_view">
									<a href="index.php?mod=Account&do=view&action=0">
										<i class="icon-double-angle-right"></i>
										账号查询
									</a>
								</li>
								<li id="Account_manageChannel">
									<a href="index.php?mod=Account&do=manageChannel&action=0">
										<i class="icon-double-angle-right"></i>
										渠道新增
									</a>
								</li>
								<li id="Account_listChannel">
									<a href="index.php?mod=Account&do=listChannel&action=0">
										<i class="icon-double-angle-right"></i>
										渠道查询
									</a>
								</li>
							</ul>
					</li>
						
				<%/if%>	
				<%if $userNode_1007 && $userNode_1007 == 1007%>	
						
					 <%if $actionlogUrl %>
					 <li id="ClientLog">
							<a href="javascript:void(0);" class="dropdown-toggle">
								<i class="icon-book"></i>
								<span class="menu-text"> 系统入口 </span>
								<b class="arrow icon-angle-down"></b>
							</a>
						
							<ul class="submenu"   >
									
							   <%foreach from = $actionlogUrl key = key item = value %>	
								<li <%if $key == "客户端log" %> id="ClientLog_select" <%/if%>>
									<a <%if $key != "客户端log" %> target="_blank" <%/if%> href="<%$value%>">
										<i class="icon-double-angle-right"></i>
										<%$key%>
									</a>
									
								</li>
								<%/foreach%>
							</ul>
						</li>
				<%/if%>
			<%/if%>		
			
				<%if $userNode_1008 && $userNode_1008 == 1008%>	
					<li id="serverControl">
							<a href="javascript:void(0);" class="dropdown-toggle">
								<i class="  icon-cogs"></i>
								<span class="menu-text"> 线上控制 </span>

								<b class="arrow icon-angle-down"></b>
							</a>
						
							<ul class="submenu" >
									<li id="serverControl_shell">
									<a href="index.php?mod=Shell&do=showServerList">
										<i class="icon-double-angle-right"></i>
										Shell命令
									</a>
								</li>
								<li id="serverControl_operation">
									<a href="index.php?mod=Shell&do=operation">
										<i class="icon-double-angle-right"></i>
										线上运维
									</a>
								</li>
							</ul>
						</li>		
					<%/if%>			
					
					<%if $userNode_1009 && $userNode_1009 == 1009%>		
						<li id="ActivityConf">
							<a href="javascript:void(0);" class="dropdown-toggle">
								<i class="  icon-cogs"></i>
								<span class="menu-text"> 运营活动 </span>

								<b class="arrow icon-angle-down"></b>
							</a>
						
							<ul class="submenu">
								<li id="ActivityConf_show">
									<a href="index.php?mod=ActivityConf&do=show">
										<i class="icon-double-angle-right"></i>
										运营活动配置
									</a>
								</li>
							</ul>
						</li>
						<%/if%>		
						<!-- 	
						<li id="ClientLog">
							<a href="javascript:void(0);" class="dropdown-toggle">
								<i class="icon-cog"></i>
								<span class="menu-text">客户端Log </span>

								<b class="arrow icon-angle-down"></b>
							</a>
							<ul class="submenu"  >
								<li id="ClientLog_select">
									<a href="index.php?mod=ClientLog&do=select">
										<i class="icon-double-angle-right"></i>
										客户端log查询
									</a>
								</li>
							</ul>
					</li>		
							 -->
							 
				 <%if $userNode_1010 && $userNode_1010 == 1010%>	
					<li id="ServerList">
							<a href="javascript:void(0);" class="dropdown-toggle">
								<i class="  icon-cogs"></i>
								<span class="menu-text">服务器列表 </span>
								<b class="arrow icon-angle-down"></b>
							</a>
							<ul class="submenu" >
									<li id="ServerList_configure">
									<a href="index.php?mod=ServerList&do=configure&action=0">
										<i class="icon-double-angle-right"></i>
										服务器列表配置
									</a>
								</li>
								<li id="ServerList_addServerList">
									<a href="index.php?mod=ServerList&do=addServerList&action=0">
										<i class="icon-double-angle-right"></i>
										添加ServerList
									</a>
								</li>
							</ul>
						</li>		
					<%/if%>			 
							 
				 <%if $userNode_1011 && $userNode_1011 == 1011%>	
					<li id="Announce">
							<a href="javascript:void(0);" class="dropdown-toggle">
								<i class="icon-list-alt"></i>
								<span class="menu-text">公告系统</span>
								<b class="arrow icon-angle-down"></b>
							</a>
							<ul class="submenu" >
									<li id="Announce_add">
									<a href="index.php?mod=Announce&do=add">
										<i class="icon-double-angle-right"></i>
										公告编辑
									</a>
								</li>	
								<li id="Announce_manageTags">
									<a href="index.php?mod=Announce&do=manageTags">
										<i class="icon-double-angle-right"></i>
										标签管理
									</a>
								</li>
							<!--  	<li id="Announce_addTags">
									<a href="index.php?mod=Announce&do=addTags">
										<i class="icon-double-angle-right"></i>
										添加标签
									</a>
								</li>
							-->	
							</ul>
						</li>	
					<%/if%>			 
							 
				    <%if $userRole && $userRole == 1%>		
						<li id="power">
							<a href="javascript:void(0);" class="dropdown-toggle">
								<i class="icon-user"></i>
								<span class="menu-text"> 系统管理 </span>

								<b class="arrow icon-angle-down"></b>
							</a>
						
							<ul class="submenu">
				
									<li id="power_addUser">
									<a href="index.php?mod=User&do=add">
										<i class="icon-double-angle-right"></i>
										添加用户
									</a>
								</li>
								
								<li id="power_manageUser">
									<a href="index.php?mod=User&do=manage">
										<i class="icon-double-angle-right"></i>
										用户管理
									</a>
								</li> 
						 		
								<li id="power_addGame">
									<a href="index.php?mod=Game&do=addGame">
										<i class="icon-double-angle-right"></i>
										添加游戏
									</a>
								</li>
								
								<li id="power_manageGame">
									<a href="index.php?mod=Game&do=showGameList">
										<i class="icon-double-angle-right"></i>
										游戏管理
									</a>
								</li>
					<!--  			<li id="power_manageGame">
									<a href="index.php?mod=Game&do=uploadFiles">
										<i class="icon-double-angle-right"></i>
										临时上传文件
									</a>
								</li>
					-->				
							</ul>
						</li>
					<%/if%>	
							
					</ul><!-- /.nav-list -->

					<div class="sidebar-collapse" id="sidebar-collapse">
						<i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
					</div>

					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
					</script>
				</div>
